Skip to content

usb: xhci: set Input Slot Context bit in xhci_fixup_endpoint#6850

Merged
P33M merged 1 commit into
raspberrypi:rpi-6.12.yfrom
P33M:fixup_xhci_fixup_endpoint
May 14, 2025
Merged

usb: xhci: set Input Slot Context bit in xhci_fixup_endpoint#6850
P33M merged 1 commit into
raspberrypi:rpi-6.12.yfrom
P33M:fixup_xhci_fixup_endpoint

Conversation

@P33M
Copy link
Copy Markdown
Contributor

@P33M P33M commented May 13, 2025

The perils of open-coding TRB fields: missed a bit.

The Renesas uPD controller no longer barfs when adjusting a keyboard/mouse polling intervals. RP1 and VL805 remain unbothered.

The Renesas uPD controller is a bit more picky about validating Configure
Endpoint TRBs and requires that bit 0 of the ADD field is 1.

This is mentioned in xhci v1.2 s4.6.6.

Also drop a redundant helper function and reject invalid endpoints.

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
@P33M P33M merged commit 2395c15 into raspberrypi:rpi-6.12.y May 14, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 21, 2025
kernel: usb: xhci: set Input Slot Context bit in xhci_fixup_endpoint
See: raspberrypi/linux#6850

kernel: configs: Enable more MediaTek drivers
See: raspberrypi/linux#6857

kernel: firmware/raspberrypi: raise timeout to 3s
See: raspberrypi/linux#6859

kernel: overlays: sc16is75x: Disable spidev0 first
See: raspberrypi/linux#6858

kernel: gpiolib: Avoid the hotplug performance reduction
See: raspberrypi/linux#6862
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 21, 2025
kernel: usb: xhci: set Input Slot Context bit in xhci_fixup_endpoint
See: raspberrypi/linux#6850

kernel: configs: Enable more MediaTek drivers
See: raspberrypi/linux#6857

kernel: firmware/raspberrypi: raise timeout to 3s
See: raspberrypi/linux#6859

kernel: overlays: sc16is75x: Disable spidev0 first
See: raspberrypi/linux#6858

kernel: gpiolib: Avoid the hotplug performance reduction
See: raspberrypi/linux#6862
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant